package com.example.administrator.jingpingou.netinteface;

import com.example.administrator.jingpingou.bean.Shop_Data;
import com.example.administrator.jingpingou.bean.Shop_Top;
import com.example.administrator.jingpingou.bean.TeJiaBean;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * Created by Administrator on 2016/8/29 0029.
 */
public interface NetInterface {
    @GET("/newapps/tttj/api/index.php?model=tttj_data&")
    Call<TeJiaBean> getNetTeJiaWithBean(@Query("page")String page);
    @GET("/jkjby/view/list_api.php?")
    Call<ResponseBody> getShopMainData(@Query("cid")String cid);

    @GET("/newapps/tttj/api/index.php?model=tttj_data&page=1&")
    Call<TeJiaBean>  getNetTeJiaFenLeiWithBean(@Query("cid")int cid);

    @GET("/item.htm?")
    Call<ResponseBody> getShopData(@Query("id")String id);
    @GET("/zkb/api/zhekoubao.php?")
    Call<ResponseBody> getShopTwoData(@Query("model")String model);

}
